package com.cn.jiyun;

import com.cn.jiyun.entity.pojo.Club;
import com.cn.jiyun.entity.pojo.Entertainment;
import com.jiyun.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "club-service")
public interface ClubFeign {

    @GetMapping("/club/findAll")
    public Result<List<Club>> findPage();
}
